package com.fzu.messageservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fzu.commonutil.ImResult;
import com.fzu.commonutil.entity.ImChatUserMessage;


/**
 * 单聊记录(ImChatUserMessage)表服务接口
 *
 * @author Answer
 * @since 2023-04-04 21:45:56
 */
public interface ImChatUserMessageService extends IService<ImChatUserMessage> {

    ImResult<Page> listFriendMessage(Long current, Long size, Integer friendId);

    ImResult<Integer> getUnReadMessage();
}
